<!-- 带有返回的header-->
<template>
  <div>
    <mt-header fixed :title="title">
      <mt-button @click="prev()" slot="left" icon="back"></mt-button>
    </mt-header>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        title:document.title
      }
    },
    methods: {
      prev() {
        this.$router.go(-1)
      }
    }
  }
</script>

<style scoped>
.mint-header{background-color: rgb(47, 57, 83);}
</style>
